package com.yao.shop.mapper;

import com.yao.shop.pojo.ShopUser;
import org.springframework.stereotype.Component;

@Component
public interface ShopUserMapper {
    ShopUser getByOpenId(String username);

    void save(ShopUser shopUser);

    ShopUser getByPhone(String phone);

    void updateLoginInfo(ShopUser shopUser);

    void clearById(Long id);
}
